import api.CoffeeStore;
import factory.impl.LatteCoffeeFactory;
import demo1.model.Coffee;

public class Client {
    public static void main(String[] args) {
        CoffeeStore coffeeStore = new CoffeeStore();
        coffeeStore.setFactory(new LatteCoffeeFactory());

        Coffee coffee = coffeeStore.orderCoffee();

        System.out.println(coffee.getName());
    }
}
